package com.ysd.resourceusestatistics.dto;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * MemberDTo
 */
@Data
@Component
public class MemberDTO {

    private Integer category;//根据身份查询
    private String department;//根据系别
    private String profession;//根据专业
    private String grade;

    private String cardNo;//根据卡号查询
    private String name;//根据姓名模糊查询
    private String phone;//根据手机号
    //根据时间查询
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
    private Integer status;//根据状态查询
//分页查询
    private Integer limit;
    private Integer page;

}